QADrawLine
You can use theQADrawLine
function to draw a line between two points.
#define QADrawLine(drawContext,v0,v1) \ (drawContext)->drawLine (drawContext,v0,v1)
drawContext
- A draw context.
v0
- A Gouraud vertex.
v1
- A Gouraud vertex.
DESCRIPTION
TheQADrawLine
function draws the line specified by thev0
andv1
parameters to the draw context specified by thedrawContext
parameter. The size of the line is determined by thekQATag_Width
state variable of the draw context. If the specified vertices have different colors, the line color is interpolated smoothly between the two vertex colors.